package com.junjie.checkin.response.admin;

import com.junjie.checkin.response.PageResult;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 洪浚杰
 * @description
 * @date 2025/6/19 09:02
 */
@Data
public class OrderPageResult<T> extends PageResult<T> {
    private Long distributedCount;
    private Long notDistributedCount;
    public OrderPageResult(long total, List<T> records, Long distributedCount, Long notDistributedCount) {
        super(total, records);
        this.distributedCount = distributedCount;
        this.notDistributedCount = notDistributedCount;
    }
}
